package com.example.edu.Entity;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;

@Data
@NoArgsConstructor
public class Article {
    private int article_id;
    private String article_title;
    private int view_times;
    private Timestamp create_time;
    private int is_publish;
    private String anti_title;
    private String article_introduce;
    private String author_telephone;

    public Article(String article_title, String anti_title, String article_introduce, String author_telephone){
        this.article_title = article_title;
        this.anti_title = anti_title;
        this.article_introduce = article_introduce;
        this.author_telephone = author_telephone;
    }
}
